import request from '@/utils/request'
//关键词管理 
// 列表
export function getKeywordList(params) {
    return request({
        url: '/keyword/index',
        method: 'POST',
        data: params
    })
}
// 详情
export function getKeywordDetail(params) {
    return request({
        url: '/keyword/detail',
        method: 'POST',
        data: params
    })
}
// 添加
export function addKeyword(params) {
    return request({
        url: '/keyword/create',
        method: 'post',
        data: params
    })
}
// 删除
export function delKeyword(params) {
    return request({
        url: '/keyword/delete',
        method: 'post',
        data: params
    })
}
// 发布
export function statusKeyword(params) {
    return request({
        url: '/admin/keyword/status',
        method: 'post',
        data: params
    })
}
// 编辑
export function editKeyword(params) {
    return request({
        url: '/keyword/update',
        method: 'post',
        data: params
    })
}
// 合集下拉列表
export function allKeyword(params) {
    return request({
        url: '/keyword/select',
        method: 'POST',
        data: params
    })
}